#define _CRT_SECURE_NO_WARNINGS 1
#include"SList.h"
int main()
{
	SL s;
	InitSL(&s);
	//Inter(&s, 0, 1);
	//Inter(&s, 1, 4);
	//Inter(&s, 2, 2);
	//Inter(&s, 3, 5);
	//Inter(&s, 4, 3);
	//Earse(&s, 2);
	PushBack(&s, 2);
	PushBack(&s, 0); 
	PushBack(&s, 2);
	PushBack(&s, 2);
	PushBack(&s, 1);
	PushBack(&s, 4);
	PushBack(&s, 9);
	ModifySL(&s, 4,9);
	//FindSL(&s, 2);
	//PushFront(&s, 8);
	//PopFront(&s);
	//PopBack(&s);
	PrintSL(&s);
	DestorySL(&s);
	return;
}